package fanglimao.hyear2.registry;

import net.minecraft.entity.effect.StatusEffectInstance;
import net.minecraft.entity.effect.StatusEffects;
import net.minecraft.item.FoodComponent;

public class ModFoods {
    public static final FoodComponent FUEL_METAL = new FoodComponent.Builder().hunger(5).saturationModifier(0.8F).alwaysEdible().build();
    public static final FoodComponent FUEL_METAL_STICK = new FoodComponent.Builder().hunger(6).saturationModifier(0.8F).alwaysEdible().build();
    public static final FoodComponent COPPER_APPLE = new FoodComponent.Builder().hunger(4).saturationModifier(1.2F).statusEffect(new StatusEffectInstance(StatusEffects.ABSORPTION, 30, 0), 1.0F).statusEffect(new StatusEffectInstance(StatusEffects.FIRE_RESISTANCE, 10, 0), 1.0F).alwaysEdible().build();
    public static final FoodComponent COPPER_BREAD = new FoodComponent.Builder().hunger(9).saturationModifier(0.6F).alwaysEdible().build();
    public static final FoodComponent COPPER_CARROT = new FoodComponent.Builder().hunger(7).saturationModifier(0.6F).alwaysEdible().build();
    public static final FoodComponent COPPER_HODGEPODGE = new FoodComponent.Builder().hunger(20).saturationModifier(0.6F).alwaysEdible().build();
    public static final FoodComponent COPPER_KELP = new FoodComponent.Builder().hunger(5).saturationModifier(0.6F).alwaysEdible().build();
    public static final FoodComponent COPPER_MELON = new FoodComponent.Builder().hunger(6).saturationModifier(0.6F).alwaysEdible().build();
    public static final FoodComponent COPPER_POTATO = new FoodComponent.Builder().hunger(8).saturationModifier(0.6F).alwaysEdible().build();
    public static final FoodComponent ENCHANTED_COPPER_APPLE = new FoodComponent.Builder().hunger(4).saturationModifier(1.2F).statusEffect(new StatusEffectInstance(StatusEffects.ABSORPTION, 60, 0), 1.0F).statusEffect(new StatusEffectInstance(StatusEffects.FIRE_RESISTANCE, 60, 0), 1.0F).statusEffect(new StatusEffectInstance(StatusEffects.SPEED, 10, 0), 1.0F).alwaysEdible().build();
}
